package com.example.common.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Entity
@Table(name = "doctor_ex_info")
public class ExInfo implements Serializable {

	private static final long serialVersionUID = -253396947370005828L;
	@Id
	@Column(name = "dc_id_bigint", columnDefinition = "bigint(20)")
	private Long dcId;
	@Column(name = "service_int", columnDefinition = "int(11) comment '接诊数（医生接诊咨询时增加1）'")
	private Integer service;
	@Column(name = "inquiry_int", columnDefinition = "int(11) comment '问诊量（支付咨询订单时增加1）'")
	private Integer inquiry;
	@Column(name = "patient_int", columnDefinition = "int(11)")
	private Integer patient;
	@Column(name = "praise_decimal", columnDefinition = "decimal(10,2)")
	private BigDecimal praise;
	@Column(name = "prescription_int", columnDefinition = "int(11)")
	private Integer prescription;
	@Column(name = "receive_decimal", columnDefinition = "decimal(10,2)")
	private BigDecimal receive;
}
